/**
 * 
 */
package org.gov.vis.master.controller;

import java.util.HashMap;
import java.util.List;

import org.gov.vis.master.dto.GopalaMithraDto;

/**
 * @author Vishwanath
 *
 */
public interface GopalaMithraCtlr extends BaseCtlr{


	/**
	 * This holds the error messages of the service layer.
	 */
	HashMap<String, String> errorMsgs = new HashMap<String, String>();

	/**
	 * Method called to Add or Edit the GopalaMithra
	 * @param gopalaMithraDto
	 * @throws Exception
	 */
	public void addOrEditGopalaMithra(final GopalaMithraDto _gopalaMithraDto) throws Exception;
	
	/**
	 * Method called to delete the GopalaMithra Object based on the passed gopalaMithra Id
	 * @param _gopalaMithraId
	 * @throws Exception
	 */
	public void deleteGopalaMithra(long _gopalaMithraId) throws Exception;
	
	/**
	 * Method called to get the GopalaMithra based on the passed GopalaMithra Object
	 * @param gopalaMithraDto
	 * @return
	 * @throws Exception
	 */
	public GopalaMithraDto getGopalaMithra(final GopalaMithraDto _gopalaMithraDto) throws Exception;
	
	/**
	 * Method called to get the list of GopalaMithra based on the passed GopalaMithra Object
	 * @param gopalaMithraDto
	 * @return
	 * @throws Exception
	 */
	public List<GopalaMithraDto> getGopalaMithras(final GopalaMithraDto _gopalaMithraDto) throws Exception;
	
	/**
	 * Method called to search for the GopalaMithras based on the passed GopalaMithra Object
	 * @param gopalaMithraDto
	 * @return
	 * @throws Exception
	 */
	public List<GopalaMithraDto> searchGopalaMithras(final GopalaMithraDto _gopalaMithraDto) throws Exception; 
	
	/**
	 * Method called to get the GopalaMithra based on the passed primary key Id
	 * @param _gopalaMithraId
	 * @return
	 * @throws Exception
	 */
	public GopalaMithraDto getGopalaMithra(final long _gopalaMithraId) throws Exception;
	
	/**
	 * Method called to get the GopalaMithra based on the passed Code
	 * @param _gopalaMithraCode
	 * @return
	 * @throws Exception
	 */
	public GopalaMithraDto getGopalaMithraOnCode(final String _gopalaMithraCode) throws Exception;
	
	


}
